
import { http } from '@/common/https.js'

// 修改密码
export const updatePwdApi = (data) => {
  return http({
    url: `/system/user/profile/updatePwd?${data}`,
    method: 'put',
  })
}

export const editUserApi = (data) => {
  return http({
    url: '/system/user/profile',
    method: 'put',
	data
  })
}